<template>
  <div class="header">
    <div class="header-left"><span class="iconfont back-icon">&#xe624;</span></div>
    <div class="header-centent"><span class="iconfont">&#xe632;</span>输入城市，景点名称</div>
    <div class="header-right">
      城市
      <span class="iconfont city-icon">&#xe62e;</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>

<style lang="stylus" scoped>
  @import '~styles/varibles.styl'
  .header
    display flex
    justify-content center
    line-height 0.86rem
    background $bgColor
    color #fff
    .header-left
      width  0.64rem
      .back-icon
        display block
        text-align center
    .header-centent
      flex 1
      margin-top .12rem
      margin-left .2rem
      padding-left .2rem
      background #fff
      height .64rem
      line-height .64rem
      border-radius .1rem
      color #ccc
    .header-right
      width 1.24rem
      text-align center
      .city-icon
        // font-size .2rem
        color sred

</style>
